package com.nondo.dean.platform.model.result;

import com.nondo.dean.common.tool.BeanUtils;
import com.nondo.dean.platform.domain.Region;
import com.nondo.dean.platform.domain.User;
import com.nondo.dean.platform.model.AreaBean;

import java.util.List;

/**
 * @author xiaofan
 * @Description:
 * @throws
 * @date 2018-04-1914:36
 * @Version
 */
public class UserAreaResult {

    private Integer id;
    private String userName;
    private String userNo;
    private String orderTakeUser;
    private String areaName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getOrderTakeUser() {
        return orderTakeUser;
    }

    public void setOrderTakeUser(String orderTakeUser) {
        this.orderTakeUser = orderTakeUser;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public static UserAreaResult coverToBean(User user){
        UserAreaResult bean=new UserAreaResult();
        BeanUtils.copy(user, bean);
        return bean;
    }


}
